﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CNShapes;

namespace CNPageEditor
{
    /// <summary>
    /// Action class for drawing an ellipse. The base class does most
    /// of the work, as this is a fairly 'standard' rectangular-bounds
    /// shape.
    /// </summary>
    public class Action_DrawEllipse : ActionBase_DrawRectangularBoundsShape
    {
        #region Public methods

        /// <summary>
        /// Returns a new instance of the shape we're managing.
        /// </summary>
        public override CNShapes.ShapeBase_RectangularBounds getShape()
        {
            return new Shape_Ellipse();
        }

        /// <summary>
        /// Returns the user-readable description of the action.
        /// </summary>
        public override string getDescription()
        {
            return "Draw ellipse";
        }

        #endregion
    }
}
